import { lazyComponent } from '@/utils'
export default [
  {
    path: '/financial',
    name: 'financial',
    sort: 7,
    meta: { title: '财务管理' },
    children: [
      {
        path: '/receivable',
        name: 'receivable',
        sort: 1,
        component: lazyComponent('financial/receivable'),
        meta: { title: '回款计划' }
      },
      {
        path: '/receivableList',
        name: 'receivableList',
        sort: 2,
        component: lazyComponent('financial/receivableList'),
        meta: { title: '回款列表' }
      },
      {
        path: '/invoiceList',
        name: 'invoiceList',
        sort: 3,
        component: lazyComponent('financial/invoiceList'),
        meta: { title: '发票列表' }
      },
      {
        path: '/productActivation',
        name: 'productActivation',
        sort: 4,
        component: lazyComponent('financial/productActivation'),
        meta: { title: '产品激活' }
      },
      {
        path: '/salesmanCommission',
        name: 'salesmanCommission',
        sort: 5,
        component: lazyComponent('financial/salesmanCommission'),
        meta: { title: '业务员提成' }
      }
    ]
  }
]
